package com.ly.base.jdbc.pojo;

import com.ly.base.jdbc.annotation.Column;
import com.ly.base.jdbc.annotation.Id;
import com.ly.base.jdbc.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Classname User
 * @Description TODO
 * @Date 2020/11/2 9:26
 * @Author 冷心影翼
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table
public class UserAccount {

	@Id
	private String openId;

	@Column
	private int leftMessageCount;

	private String notInDB;

	public UserAccount(String openId, int leftMessageCount) {
		this.openId = openId;
		this.leftMessageCount = leftMessageCount;
	}
}
